package com.activities;

import com.main.R;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.widget.ImageView;


/**
 * Application presentation. Draws the company logo with a fade in effect.
 * */
public class Presentation extends Activity{
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.presentation);
		ImageView iv = (ImageView) findViewById(R.id.presentation_image);
		Bitmap bm = BitmapFactory.decodeResource(getResources(),R.drawable.nextive); 
		iv.setImageBitmap(bm);
		// TODO: Create a timer to make application presentation be finished by itself.
		// Possible solution: Create a service that will be slept by n seconds (depending on how much time we want the presentation
		// to stay on screen) and when waken up it will send a message to this activity that will be handled to finish it. 
	}
}
